<style>
	.fui-list-group .fui-cell .fui-cell-remark .img {
		float: left;
	}

	.fui-list-group .fui-cell .fui-cell-remark .img img {
		width: 1.6rem;
		height: 1.6rem;
		border-radius: .6rem;
	}
</style>
<div class="fui-searchbar bar" style="z-index: 0;">
						<div ng-class="{'searchbar':1,'searchbar-active':pagedata.searchbar ==1}" style="background:none;padding-bottom:0.2rem">
								<div style="position: relative;left:0;top:0;">
									<div class="search-input">
										<i id="searchsub" class="icon icon-sousuo1" ng-click="tool.get_list('jy_invoice/list//getlist/',true)"></i>
										<input type="search" placeholder="请输入票号，查询您的发票" class="search" ng-model="pagedata.params.keyword" style="text-align: left; color: #999; font-size:0.6rem;background:#fff;border-radius: 1rem;" />
									</div>
								</div>
						</div>
</div>
<div style="padding: 0.5rem">
<div class="fui-list-group order-item" ng-repeat="item in pagedata.list">
				<div class="fui-list external" style="padding: 0.42rem 0.5rem" ng-click="pagedata.show_item=true;pagedata.item=item">
                    <div class="fui-list-inner">
                        <div class="subtitle bold"><i class="icon icon-jiangjiatongzhi"></i> {{item.piao_company || '收费公司名称'}}</div>
                    </div>
                    <div class="row-remark text-cancel" style="width: 4rem; font-size: 0.65rem;text-align: right;">{{item.createtime}}</div>
                    <div class="angle"></div>
                </div> 
				<div ng-if="item.expresssn" class="fui-list external" style="padding: 0.42rem 0.5rem">
                    <div class="fui-list-inner">
                        <div class="subtitle"> 快递单号: {{item.expresssn}}</div>
                    </div>
                    <div class="row-remark text-cancel" style="width: 4rem; font-size: 0.65rem;text-align: right;">快递公司</div>
                    <div class="angle"></div>
                </div> 
				<div class="fui-cell-group" style="border-radius:0.5rem;margin-top:0">
				<div class="fui-cell" ng-click="pagedata.show_item=true;pagedata.item=item">
					<div class="fui-cell-info">
						<div>交款人：{{item.piao_username}}</div>
						<div>票据号：{{item.piao_number || '****'}}</div>
						<div>票据内容：{{item.piao_type}}</div>
					</div>
					<div class="fui-cell-remark noremark">
						<div style="color:#999;font-size:0.6rem">备注：{{item.remark}}</div>
						<div style="color:#f60">{{item.piao_fee || '0.00'}}</div>
					</div>
				</div>
				<div class="fui-cell" ng-click="pagedata.show_item=true;pagedata.item=item">
					<div class="fui-cell-info">
						<span style="color:#999;font-size:0.65rem">记录号: {{item.logsn}}</span>
					</div>
					<div class="fui-cell-remark noremark">
						<span class="label label-success">{{item.statustitle}}</span>
					</div>
				</div>
					<div ng-if="item.images.length>0" class="fui-cell">
						<div class="fui-cell-info">
							<span style="color:#999;font-size:0.65rem">发票电子图</span>
						</div>
						<div class="fui-cell-remark noremark">
							<div class="remark img">
								<div ng-repeat="img in item.images" class="img" style=""><img ng-click="pagedata.show_bigimage=true;pagedata.showimage=img" ng-src="{{img}}"/></div>
							</div>
						</div>
					</div>
				</div>
            <div ng-if="item.sendtype == 1 || item.status >= 1" class="fui-list-group-title lineblock opblock">
				<span class="status noremark">
					<div ng-show="item.sendtype == 1 && item.status==4" class="btn btn-sm btn-default-o order-delete" href="javascript:;" ng-click="pagedata.checkcancel=true;pagedata.orderid=item.id">查看物流信息</div>
					<div ng-show="item.sendtype == 1 && item.status==4" class="btn btn-sm btn-danger-o order-finish" ng-click="post({},'//pay/id='+item.id,'/ji_log/','/ji_log/')">确认收到</div>
				</span>
            </div>
</div>
</div>
<div ng-if="pagedata.show_item" class="popup">
	<div class="popup-body">
		<div class="popup-center">
			<i class="closed icon icon-cuowu" ng-click="pagedata.show_item=false"></i>
			<div class="fui-cell-group" style="border-radius:0.5rem;margin-top:0">
				<div class="fui-cell">
					<div class="fui-cell-info">
						<div>交款人：{{pagedata.item.piao_username}}</div>
						<div>票据号：{{pagedata.item.piao_number || '****'}}</div>
						<div>票据内容：{{pagedata.item.piao_type}}</div>
						<div>抬头：{{pagedata.item.to_name}}</div>
						<div ng-if="pagedata.item.usertype ==2">税号：{{pagedata.item.to_code}}</div>
						<div ng-if="pagedata.item.usertype ==2">开户行：{{pagedata.item.to_bank}}</div>
						<div ng-if="pagedata.item.usertype ==2">银行账号：{{pagedata.item.to_bankcode}}</div>
						<div>收票人名称：{{pagedata.item.address.name}}</div>
						<div>收票人电话：{{pagedata.item.address.mobile}}</div>
						<div>收票人邮箱：{{pagedata.item.to_email}}</div>
						<div>备注：{{pagedata.item.remark}}</div>
						<div>金额：{{pagedata.item.piao_fee}}</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<!--图片放大-->
<div ng-if="pagedata.show_bigimage"  class="popup">
	<div class="popup-body">
		<div class="popup-center">
			<div ng-click="pagedata.show_bigimage=false" class="image" style="border-radius: 2rem; height:18rem;background: url({{tomedia(pagedata.showimage)}}) no-repeat 50% 0;background-size:100%;background-position:center center">
			</div>
		</div>
	</div>
</div>